<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<?php
//魔术方法
function __autoload($classname)
{
    include "$classname.php";
}

//2、封装增删改查方法(让代码减少很多)
$db = new MyPDO();
$arr = $db->select("select * from dc_user limit 0,10");
echo "<pre>";print_r($arr);echo "<pre>";